package archsw0904.model;

import java.io.Serializable;
import java.lang.String;
import javax.persistence.*;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;


/**
 * Entity implementation class for Entity: ProfileUser
 *
 */
@Entity
@Cache(usage=CacheConcurrencyStrategy.NONSTRICT_READ_WRITE)
@NamedQuery(name="ProfileUser.findLoginId", query="SELECT OBJECT(obj) FROM ProfileUser obj WHERE obj.loginId = :loginId")
public abstract class ProfileUser implements Serializable {
	  
	private Integer id;
	private String loginId;
	private String password;
	private String name;
	private String surname;
	private String email;
	private static final long serialVersionUID = 1L;

	public ProfileUser() {
		super();
	}   
	
	@Id
	@GeneratedValue
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer Id) {
		this.id = Id;
	}   
	
	@Column(unique=true)
	public String getLoginId() {
		return this.loginId;
	}

	public void setLoginId(String loginId) {
		this.loginId = loginId;
	}   
	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}   
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}   
	public String getSurname() {
		return this.surname;
	}

	public void setSurname(String surname) {
		this.surname = surname;
	}   
	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}
   
}
